package cn.cl.controller;

import cn.cl.service.TicketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 标题：
 * 作者：何处是归程
 * 时间：2020/4/3 - 16:42
 */
@RestController
public class TicketController {
	@Autowired
	TicketService ticketService;

	@GetMapping("/ticket")
	public String getTicket() {
		return ticketService.getTicket();
	}
}
